package com.jiajia.study.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jiajia.common.utils.PageUtils;
import com.jiajia.study.ware.entity.PurchaseEntity;
import com.jiajia.study.ware.vo.MergeVO;
import com.jiajia.study.ware.vo.PurchaseDoneVo;

import java.util.List;
import java.util.Map;

/**
 * 采购信息
 *
 * @author zjj
 * @email zjj@qq.com
 * @date 2025-06-09 17:47:39
 */
public interface PurchaseService extends IService<PurchaseEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 合并采购单
     * @param mergeVO   采购单合并
     */
    void merge(MergeVO mergeVO);

    /**
     * 确认采购单
     * @param ids   确认采购单
     */
    void received(List<Long> ids);

    /**
     * 完成采购
     * @param doneVo    采购信息
     */
    void finish(PurchaseDoneVo doneVo);
}

